import {get, post } from '@/util/request';

const api = {
 family: '/family',
 familyDel: '/family/delete',

};

/**
 * 获取family
 * @returns {Promise<any>}
 */
export const family = () => get(api.family);

/**
 * 设置family
 * @returns {Promise<any>}
 */
export const setFamily = (data) => post(api.family, data);

/**
 * 删除family
 * @returns {Promise<any>}
 */
export const delFamily = (data) => post(api.familyDel, data);



